﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 学生信息管理系统
{
    
    
  public  enum E_gender {
        man,
        woman
    }
    public enum E_GradeType
    {
            高一,
            高二,
            高三
    }
  public  class StudentsInfomation
    {
        public StudentsInfomation(int id,string name,E_gender gender,E_GradeType gradetype,int eclass,int phone,string email, string address,int qq,int score)
        {
            this._id = id;
            this._name = name;
            this._gender = gender;
            this._gradetype = gradetype;
            this._eclass = eclass;
            this._phone = phone;
            this._email = email;
            this._address = address;
            this._qq = qq;
            this._score = score;
        }
       
        public int _score;
        public int Score
        {
            get { return _score; }
            set { _score = value; }
        }
        private int _id;
        public int ID
        {
            get { return _id; }
            set{_id = value; }
        }
        private string _name;
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        
        private E_gender _gender;
        public E_gender Gender
        {
            get { return _gender; }          
        }
        private E_GradeType _gradetype;
        public E_GradeType GradeType
        {
            get { return _gradetype; }
        }
        private int _eclass;
        public int eClass
        {
            get { return _eclass; }
            set { _eclass = value; }
        }
        private int _phone;
        public int Phone
        {
            get { return _phone; }          
        }
        private string _email;
        public string Email
        {
            get { return _email; }
            
        }
        private string _address;
        public string Address
        {
            get { return _email; }
        }
        private int _qq;
        public int Qq
        {
            get{return _qq;}
        }

        public override string ToString()
        {
            return "ID：" + ID + "姓名：" + Name + "性别：" + Gender + "年级：" + GradeType + "班级{4}" + eClass + "电话：" + Phone + "地址：" + Address + "邮箱：" + Email + "QQ：" + Qq + "成绩：" + Score;
               
        }
        
    }
}
